﻿<pages:PageBase xmlns:data="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Data"  x:Class="PeoplesJukebox.Web.Pages.SearchPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:extended="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Extended" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:pages="clr-namespace:PeoplesJukebox.Web.Pages"
    xmlns:userControls="clr-namespace:PeoplesJukebox.Web.UserControls">

    <Grid VerticalAlignment="Top" HorizontalAlignment="Center" Margin="20">
        <Grid.RowDefinitions>
            <RowDefinition Height="60"></RowDefinition>
            <RowDefinition Height="*"></RowDefinition>
        </Grid.RowDefinitions>

        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="*"/>
            <ColumnDefinition Width="120"/>
        </Grid.ColumnDefinitions>

        <extended:WatermarkedTextBox x:Name="txtSearchTerm" TextChanged="txtSearchTerm_TextChanged"
                 Grid.Column="0" Grid.Row="0" Watermark="Enter part of a track, album or artist name"
                 FontSize="14" FontFamily="Verdana" Background="LightGray" Height="60" Width="600" Margin="20,0,20,0"/>
        <userControls:ResultsList x:Name="resultsList" Grid.Column="0" Grid.Row="1" Margin="20,20,20,0"></userControls:ResultsList>
        <userControls:KeyPad x:Name="keyPad" Grid.Column="1" Grid.RowSpan="2" HorizontalAlignment="Right" ></userControls:KeyPad>
    </Grid>

</pages:PageBase>
